<?php 
    class User
	{
		public $_user_name;
		public $_user_pass;
		public $_user_re_pass;
		public $_user_email;
        public $_user_status;
        public $_user_displayname;
		public $_user_level;
		public $_user_id;
        public $_user_createdate;
        public $_user_activation_key;
		public function exchangeArray($data)
		{
			$this->_user_id=isset($data['user_id']) ? $data['user_id'] : null;
			$this->_user_name=isset($data['user_name']) ? $data['user_name'] : null;
			$this->_user_pass=isset($data['user_pass']) ? $data['user_pass'] : null;
			$this->_user_email=isset($data['user_email']) ? $data['user_email'] : null;
            $this->_user_createdate=isset($data['user_createdate']) ? $data['user_createdate'] : null;
            $this->_user_activation_key=isset($data['user_activation_key']) ? $data['user_activation_key'] : null;
			$this->_user_status=isset($data['user_status']) ? $data['user_status'] : null;
			$this->_user_display_name=isset($data['user_display_name']) ? $data['user_display_name'] : null;
            $this->_user_level=isset($data['user_level']) ? $data['user_level'] : null;
		}
		public function getArrayCopy()
		{
			return get_object_vars($this);
		}
	}
?>